@font-face {
    font-family: 'AbrilFatface';
    src: url('../font/AbrilFatface.ttf');
    font-weight: normal;
    font-style: normal;
}
body,html{background-color:#f4f4f4;max-width:750px;margin:0 auto;padding:0;}
li{list-style:none}
blockquote,button,caption,dd,div,dl,dt,fieldset,figure,form,h1,h2,h3,h4,h5,h6,hr,input,legend,li,menu,ol,p,pre,table,td,textarea,th,ul{margin:0;padding:0;outline:0}
.mdui-tab{min-height:40px}
.mdui-tab .mdui-tab-active{font-weight:700; font-size: 16px;}

.mdui-m-b-8{margin-bottom:56px!important}

.mdui-bottom-nav{max-width:750px;box-shadow: 0 0px 4px 0px #bbb;z-index: 2;}
.mdui-bottom-nav a{padding: 4px;}
.mdui-bottom-nav a label{font-size: 10px;margin-top: 2px;}
a.mdui-bottom-nav-active{color:#ff4142!important}

.mdui-bottom-nav-fixed{padding-bottom: 49px;}

.swiper-pagination-bullet{width:22px;height:3px;border-radius:0; border-top: 0; }
.swiper-pagination-bullet-active{background:#fff;opacity:1;border-radius: 0}

.mdui-container,.mdui-container-fluid{padding-right:0;padding-left:0}

.tools-toTop{position:fixed;right:12px;bottom:122px;width:32px;height:32px;box-shadow: 0 0px 4px 0px #bbb;border-radius:50%;text-align:center;line-height:32px;background:#fff;color:#4d4d4d;opacity:.8;padding: 4px 0;box-sizing: border-box;z-index: 2;}
.tools-customer{position:fixed;right:12px;bottom:80px;width:32px;height:32px;box-shadow: 0 0px 4px 0px #bbb;border-radius:50%;text-align:center;line-height:32px;background:#fff;color:#4d4d4d;opacity:.8;padding: 4px 0;box-sizing: border-box;z-index: 2;}

.price>.salePrice:before,.salePrice:before{content:'NT$' ; font-size:12px;margin-right:2px}
.originalPrice:before,.price>.originalPrice:before{content:'NT$' ;font-size:10px;margin-right:2px}

.loader,.loader:after,.loader:before{border-radius:50%;width:2em;height:2em;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation:loading 1.8s infinite ease-in-out;animation:loading 1.8s infinite ease-in-out}
.loader{color:#fff;font-size:10px;margin:80px auto;position:relative;text-indent:-9999em;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s;position:fixed;top:30%;left:50%;z-index:100000;margin-left:-1.5em}
.loader:after,.loader:before{content:'';position:absolute;top:0}
.loader:before{left:-3em;-webkit-animation-delay:-.32s;animation-delay:-.32s}
.loader:after{left:3em}
@keyframes loading{0%,100%,80%{box-shadow:0 2.5em 0 -1.3em}
    40%{box-shadow:0 2.5em 0 0}
}

.mdui-head-nav > .mdui-btn-icon{padding: 6px 0;text-align: left;}

.hide{display: none!important;}

#marketing_dialog{position:fixed;z-index:20002;box-sizing:border-box;background:#FFF;padding:16px; width:88%;max-width:540px;top:50%;left:50%;height:50%;transform:translate(-50%,-50%);border-radius:6px;display: flex;flex-direction: column;}
#marketing_dialog .close{position: absolute; top: 16px; right: 16px;}
#marketing_dialog .marketing_title{font-size: 18px;padding: 6px 0 16px;font-weight: bold;}
#marketing_dialog .marketing_scroll{overflow-y: auto; flex: 1;}
#marketing_dialog .marketing_scroll::-webkit-scrollbar{display: none;}
#marketing_dialog > p{font-size: 12px;padding-top: 6px;}
#marketing_dialog .marketing_scroll ul li:not(.tips){display: flex; align-items: center; justify-content: center;border: 3px solid #FFABB6; margin-bottom: 6px; border-radius: 2px;padding: 0 8px 0 0;position: relative;}
#marketing_dialog .marketing_scroll ul li.tips{font-size: 10px; margin-bottom: 10px; text-align: right;}
#marketing_dialog .marketing_scroll ul li > div:first-child{font-size: 14px; font-weight: bold;width: 36%;text-align: center;background: #FFABB6;padding: 26px 0 12px;outline: 2px dashed #FFABB6;position: relative;}
#marketing_dialog .marketing_scroll ul li > div:first-child p{background: #FF3450;position: absolute;top: -3px; left: -3px;border-bottom-right-radius: 6px; color: #fff;font-size: 10px;padding: 2px 10px 2px 6px; width: 70%;display: block;text-overflow: ellipsis;white-space:nowrap;overflow: hidden;}
#marketing_dialog .marketing_scroll ul li > div:first-child span:last-child{font-size: 32px;padding: 0 3px 0 1px;font-family: 'AbrilFatface';}
#marketing_dialog .marketing_scroll ul li > div:first-child div{text-align: center;}
#marketing_dialog .marketing_scroll ul li > div:last-child{width: 64%;padding-left: 10px;font-size: 14px;}
#marketing_dialog .marketing_scroll ul li > div:last-child div{padding-top: 4px}
#marketing_dialog .marketing_scroll ul li .bg_icon{position: absolute; bottom: 0; right: 6px; opacity: .2;}
#marketing_dialog .marketing_scroll ul li .bg_icon svg{position: absolute;top: -24px;right: 2px;transform: rotateZ(25deg);}

.marketing-list{background: #fff; display: flex; align-items: center; justify-content: space-between;font-size: 12px; line-height: 14px;width: 100%;padding-top: 8px;}
.marketing-list:before, .marketing-list:after {content: '';display: block;}
.marketing-list li{background: #fff3f2;border-radius: 4px;color: #f2270c;width: 30%;}
.marketing-list li.marketing-freight span:not(.salePrice){font-family: 'AbrilFatface';font-size: 24px;}
.marketing-list li div{display: flex; align-items: flex-start;justify-content: center;}
.marketing-list li div:first-child span:nth-child(1){padding-top: 4px;font-weight: bold;}
.marketing-list li div:first-child span.salePrice:before{font-size: 16px;}
.marketing-list li div span{font-size: 24px;line-height: 24px;padding: 0 3px 0 1px;font-family: 'AbrilFatface';}
.marketing-list li div:last-child{line-height: 20px;font-size: 10px;}

.customer-cart-dialog{
	position: fixed;
    top: 0px !important;
    bottom: 0px !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 750px !important;
    max-height: 100% !important;
    z-index: 10;
    background: #FFFFFF;
    transform: scale(1);
    transition-duration: .3s;
}
.customer-cart-dialog .mdui-dialog-title{
	padding: 0 10px;
	color: #222222;
	font-size: 16px;
	position: relative;
	text-align: center;
	display: block;
}

.customer-cart-dialog .mdui-dialog-title > button.mdui-btn-delete{
	position: absolute;
    right: 4px;
    top: 10px;
}
.customer-cart-dialog .customer-cart-empty{
	display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 70%;
}
.customer-cart-dialog .customer-cart-empty > img{
	width: 40%;
}
.customer-cart-dialog .customer-cart-empty > span{
	margin-top: 32px;
    color: #9A9A9A;
    font-size: 17px;
}
.customer-cart-dialog .customer-cart-empty > a.mdui-btn{
	width: 144px;
    color: #9F0000;
    border: 1px solid #9F0000;
    border-radius: 20px;
    height: 40px;
    line-height: 40px;
    margin-top: 20px;
}

.customer-cart-dialog .mdui-dialog-content{padding: 0px; background: #F0F0F0; height: calc(100% - 98px) !important;padding-bottom: 50px;}


.customer-cart-dialog .customer-cart-promotion{background: #FFFAE6; font-size: 13px; color: #222222; padding: 10px;}
.customer-cart-dialog .customer-cart-promotion > span{border: 1px solid #A00000; padding: 2px 4px; font-weight: bold; margin-right: 4px; color: #A00000; border-radius: 4px;}

.customer-cart-lists{position: relative;}
.customer-cart-lists > ul{width: 100%; align-items: center; height: 100%; display: block;}
.customer-cart-lists > ul > li{display: block; box-sizing: border-box; position: relative;padding: 14px 0px; background: #FFFFFF; margin: 8px 8px 0px 8px; border-radius: 4px;}
.customer-cart-lists > ul > li:last-child{border-bottom: 0;}
.customer-cart-lists > ul > li > button.radios{position: absolute; top: 48px;}
.customer-cart-lists > ul > li > button.radios > i{color: #4c4c4c; font-size: 22px;}
.customer-cart-lists > ul > li > button.radios.active > i{color: #A00000;}
.customer-cart-lists > ul > li > a{text-decoration:none; margin-left: 38px;}
.customer-cart-lists > ul > li img.product-img{width: 100px;display: inline-block;vertical-align: top;border-radius: 4px;}
.customer-cart-lists > ul > li > .product-text{display: inline-block; width: calc(100% - 160px);padding: 0 6px; display: flex; flex-direction: column; float: right; height: 100px; justify-content: space-between;}
.customer-cart-lists > ul > li > .product-text > .title{display: block; margin-top: 4px; font-size: 14px; color: #000;overflow: hidden; height: 40px; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;}
.customer-cart-lists > ul > li > .product-text > .title > strong{background: #A00000; color: #FFFFFF; padding: 0px 4px; font-size: 80%; margin-right: 4px; border-radius: 2px;}
.customer-cart-lists > ul > li > .product-text > .skuName{display: block; margin-top: 6px; color: #bcbcbc; font-size: 12px;overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;}
.customer-cart-lists > ul > li > .product-text > .downprice{position: absolute; font-size: 12px; color: #A00000; bottom: 24px;}
.customer-cart-lists > ul > li > .product-text > .price{ margin-top: 8px;color: #A00000; font-size: 16px; font-weight: bold;}
.customer-cart-lists > ul > li > .product-text > .price .originalPrice{font-size: 13px; color: #888888; text-decoration: line-through; font-weight: 400;}
.customer-cart-lists > ul > li > .mdui-numbox-container{position: absolute; bottom: 5px ; right: 10px;}
.customer-cart-lists .mdui-numbox{display: inline-block; position: relative; width: 92px; height: 24px; border-radius: 12px; color: #363636; border: 1px solid #e8e8e8; overflow: hidden;}
.customer-cart-lists .mdui-numbox > .mdui-numbox-btn{box-sizing: border-box; width: 30px; height: 24px; border: none; outline: 0; position: absolute; top: 0; background: #FFF;}
.customer-cart-lists .mdui-numbox > .mdui-numbox-btn > i.mdui-icon{font-size: 16px; color: #4B4B4B;}
.customer-cart-lists .mdui-numbox > .mdui-numbox-btn.mdui-numbox-btn-minus {left: 0; border-right: 1px solid #e8e8e8;}
.customer-cart-lists .mdui-numbox > .mdui-numbox-btn.mdui-numbox-btn-plus {right: 0; border-left: 1px solid #e8e8e8;}
.customer-cart-lists .mdui-numbox > .mdui-numbox-input{font-size: 14px; width: 100%; height: 100%; margin: 0; overflow: hidden; text-align: center; text-overflow: ellipsis; word-break: normal; border: none; outline: 0; padding: 0;}
.customer-cart-lists > ul > li >button.mdui-btn-delete{position: absolute; top: 54px; right: 4px; display: inline-block;}
.customer-cart-lists > ul > li >button.mdui-btn-delete > i{color: #bcbcbc; font-size: 18px;}

.customer-cart-estimated-time{background: #FFFAF6; font-size: 14px; font-weight: bold; padding: 8px; color: #222222;position: fixed; bottom: 49px; box-sizing: border-box; width: 100%;}
.customer-cart-estimated-time > span{color: #A00000;}

.customer-cart-dialog .mdui-dialog-actions{height: 50px; padding: 0px 0px 0px 8px; box-sizing: border-box; display: flex;align-items: center;}
.customer-cart-dialog .mdui-dialog-actions .mdui-dialog-actions-checkAll{
	width: 70px;
	text-align: left;
}
.customer-cart-dialog .mdui-dialog-actions .mdui-dialog-actions-checkAll > button.mdui-btn{
	width: 26px !important;
	min-width: initial !important;
	color: #A00000;
}
.customer-cart-dialog .mdui-dialog-actions .mdui-dialog-actions-checkAll > span{
	
}
.customer-cart-dialog .mdui-dialog-actions .customer-cart-price{
	flex-grow: 1;
	display: flex;
	flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin: 0px 10px;
}
.customer-cart-dialog .mdui-dialog-actions .customer-cart-price .top{
	padding: 2px 0px;
}
.customer-cart-dialog .mdui-dialog-actions .customer-cart-price .top > span:nth-child(1){
	font-size: 16px;
    color: #222222;
    font-weight: bold;
}
.customer-cart-dialog .mdui-dialog-actions .customer-cart-price .top > span:nth-child(2){
	font-size: 14px;
    color: #A00000;
    font-weight: bold;
}
.customer-cart-dialog .mdui-dialog-actions .customer-cart-price .top > span:nth-child(3){
	font-size: 10px;
    color: #9A9A9A;
}
.customer-cart-dialog .mdui-dialog-actions .customer-cart-price .bottom{
	color: #A00000;
	font-size: 10px;
	padding: 2px 0px;
}

.customer-cart-dialog .mdui-dialog-actions > .mdui-btn.cod{
	height: 50px;
	line-height: 50px;
	padding: 0px 4px;
	margin: 0px;
	width: 88px !important;
	background: #FF9519;
	color: #FFFFFF;
	font-size: 16px;
	border-radius: 0px;
}
.customer-cart-dialog .mdui-dialog-actions > .mdui-btn.stripe{
	height: 50px;
	line-height: 50px;
	padding: 0px 4px;
	margin: 0px;
	width: 88px !important;
	background: #FF4931;
	color: #FFFFFF;
	font-size: 16px;
	border-radius: 0px;
}

.mdui-snackbar{z-index: 70000; width: fit-content;}


.mdui-nav-orders{display: none; position: fixed;z-index: 3;bottom: 200px; right: 0px; font-size: 12px; color: #FFFFFF;letter-spacing:2px;padding: 6px; padding-left: 10px; border-radius: 12px 0px 0px 12px;background:rgba(0,0,0,0.5)}
